Micron Document




ThreadWeaver
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
ThreadWeaver is a system library initially developed for KDE Software Compilation 4cite-ref-2[2] and later refactored for KDE Frameworks 5.cite-ref-3[3]

ThreadWeaver allows developers to easily take advantage of multi-core processors and multithreading. In ThreadWeaver the workload is divided into individual jobs, then relationship between jobs (what order they should be completed or which has a higher priority); from that ThreadWeaver will work out the most efficient way to execute them. Krita has implemented visual filter previews using ThreadWeaver to prevent GUI lockups.

Contents


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

References

cite-note-wikidata-3d1d8b0aee441ad7cf737faf75265820c8754d33-v20-11. "KDE Ships Frameworks 6.16.0". 11 July 2025. Retrieved 12 July 2025.
cite-note-22. "kdelibs API Reference". Archived from the original on 2011-01-23. Retrieved 2017-01-02.
cite-note-33. "ThreadWeaver in KDE Frameworks 5". 15 July 2013. Retrieved 2015-05-13.

Further reading

• citereftill-adam-and-mirko-boehm2009Till Adam and Mirko Boehm (2009). "When the bazaar sets out to build cathedrals (§ ThreadWeaver)". In Diomidis Spinellis and Georgios Gousios (ed.). Beautiful Architecture: Leading Thinkers Reveal the Hidden Beauty in Software Design. O'Reilly Media, Inc. pp. 303–314. ISBN 9780596517984.